package com.wn26.service.impl;

import java.sql.SQLException;
import java.util.List;

import com.wn26.bean.Goods;
import com.wn26.dao.GoodsDao;
import com.wn26.dao.impl.GoodsDaoImpl;
import com.wn26.service.GoodsService;

public class GoodsServiceImpl implements GoodsService {
	private GoodsDao gd;

	public GoodsServiceImpl() {
		gd = new GoodsDaoImpl();
	}

	@Override
	public List<Goods> listGoods() throws SQLException {
		return gd.listGoods();
	}

}
